﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace AdminizzaUIDesktop.UIComponents
{
    public partial class AdminizzaButton : UserControl
    {
        public AdminizzaButton()
        {
            InitializeComponent();
            this.button.Text = "Nueva Acción";
            this.SetAdminizzaStyle();
        }

       
        public AdminizzaButton(String actionName)
        {
            InitializeComponent();
            this.button.Text = actionName;
        }
        private void SetAdminizzaStyle()
        {
            this.button.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button.BackColor = System.Drawing.Color.Silver;
        }
    }
}
